﻿function LoadXML(XMLFilePath){
    var objProtocol;
    if(window.XMLHttpRequest){
        objProtocol = new XMLHttpRequest();
    }else{
        objProtocol = new ActiveXObject("Microsoft.XMLHTTP");
    }
    objProtocol.open("GET",XMLFilePath,false);
    objProtocol.send();
    var xmlDoc = objProtocol.responseXML;
    return xmlDoc;
}